<?php
	require '../config.php';
	require '../inc/require.php';
	
	$chip_id = Session::get('chip_id');
	$password = $_POST['password'];
	
	$account = new Account();
	$account = $account->getAccountByChipId($chip_id);
	
	if($account->password == $password) {
		echo 'true';
	} else {
		echo 'false';
	}
	
	